home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2950 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: www.cybercity.dk!usenet
  2. From: ccc6004@vip.cybercity.dk (Hans Henrik Happe)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 7 Feb 1996 11:37:18 GMT
  6. Organization: CyberCity of Denmark
  7. Message-ID: <1045.6611T753T2256@vip.cybercity.dk>
  8. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no>
  9. NNTP-Posting-Host: 194.16.56.105
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12.  
  13. Patrick Hanevold ( patrick.hanevold@login.eunet.no ) wrote:
  14. >>I wonder how to double pixels horizontally without writing
  15. >>them twice! I've seen this trick in several demos and I
  16. >>believe that it is just a little trick with the hardware.
  17. >>I also wonder about another thing:
  18. >>you may have noticed that there is a "sprite mode" where
  19. >>the sprite switches from Hires back to Lores and displays
  20. >>only every second column of pixels! I wonder if this is
  21. >>possible/will happen  for bitmaps too.
  22.  
  23. > It's in the chunky to planar convertion.
  24.  
  25. You can also render only every 2nd pixels, mask out those you don't want with sprites,
  26. and then:
  27.  
  28. loop
  29.     1st frame: show pixel 02468... mask out 13579...
  30.     2nd frame: show pixel 13579... mask out 02468...
  31.     jump loop
  32.  
  33. In the 2nd frame you shift (scroll) the bitplanes 1 to the right.
  34. This looks allmost as the real double pixels (Gives very little flicker) and you only
  35. have to write half as much to the chip mem.
  36.  
  37. This effect can be done using only the copper.
  38.  
  39.  
  40.  
  41.  
  42. Hans Henrik Happe
  43.  Goat / Sumpen
  44.  
  45.